package com.ndbg.demo.model.sign;

import javax.validation.constraints.NotNull;

/**
 * 变更证书接口入参
 * @author chenXB
 * @createTime 2023年09月12日 15:54:00
 */
public class ModifyCertRequest implements ESignRequest {

    /**
     * 证书标识
     */
    @NotNull
    private String sessionId;

    /**
     * 密码
     */
    @NotNull
    private String password;

    /**
     * 证书名称
     */
    @NotNull
    private String certName;

    /**
     * 证书号(个人传身份证，企业传统一社会信用代码)
     */
    @NotNull
    private String cardNo;

    /**
     * 经办人证件类型(申请企业证书时必填,1为身份证)
     */
    private String operatorCardType;

    /**
     * 经办人证件号码(申请企业证书时必填)
     */
    private String operatorCardNo;

    /**
     * 经办人姓名(申请企业证书时必填)
     */
    private String operatorName;

    /**
     * 经办人联系电话(申请企业证书时必填)
     */
    private String opertatorPhone;

    /**
     * 方法编码
     */
    @Override
    public String getMethodCode() {
        return "MODIFYCERT";
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCertName() {
        return certName;
    }

    public void setCertName(String certName) {
        this.certName = certName;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getOperatorCardType() {
        return operatorCardType;
    }

    public void setOperatorCardType(String operatorCardType) {
        this.operatorCardType = operatorCardType;
    }

    public String getOperatorCardNo() {
        return operatorCardNo;
    }

    public void setOperatorCardNo(String operatorCardNo) {
        this.operatorCardNo = operatorCardNo;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getOpertatorPhone() {
        return opertatorPhone;
    }

    public void setOpertatorPhone(String opertatorPhone) {
        this.opertatorPhone = opertatorPhone;
    }
}
